import greenfoot.*;  // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
import java.util.List;
import java.util.Iterator;
/**
 * Write a description of class Picos here.
 * 
 * @author (your name) 
 * @version (a version number or a date)
 */
public class Picos extends Elemento
{
    private double d;
    private Jugador j;
    
    
    public Picos()
    { 
         d = -1;
    }
   
    
    /**
     * Act - do whatever the prueba wants to do. This method is called whenever
     * the 'Act' or 'Run' button gets pressed in the environment.
     */
    
    public void act() 
    {
        if(d==-1)
        {
            super.inicia();
            d=1;
        } 
      
    }    
}
